package com.hospital.hospitalserver.entity.Vo;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 患者就诊记录表实体类
 * */
@Data
public class DiagnosisRecord {
    private Integer diagnosis_id;
    private Integer visit_id;
    private String record_no;
    private Integer patient_id; // 关联患者生成的档案表id
    // 临床信息
    private String chief_complaint; //主诉
    private String present_illness; //现病史
    private String past_history; //既往史
    private String allergy_history; //过敏史
    private String physical_exam; //体格检查
    // 诊断信息
    private String preliminary_diagnosis; //初步诊断
    private String current_diagnosis; //最终诊断
    private String disease_code; //疾病编码
    // 治疗信息
    private String treatment_plan; //治疗方案
    private String lab_results; //辅助检查结果
    // AI辅助字段
    private String ai_symptom_analysis; //AI症状分析
    private String ai_physical_exam_suggest; //AI体格检查建议
    private String ai_lab_suggest; //AI检查项目推荐
    private String ai_diagnosis_suggest; //AI诊断建议
    private String ai_treatment_suggest; //AI治疗建议
    private String ai_quick_analysis; //AI一键分析结果
    // 状态信息
    private String diagnosis_status; //诊断状态: in_progress进行中, completed已完成
    private LocalDateTime diagnosis_time; //诊断时间
    // 系统字段
    private LocalDateTime create_time;
    private LocalDateTime update_time;

    //补充其他字段
    private String patient_name;
    private String id_number;
    private String gender;
    private Integer age;
    private String department_name;
    private String doctor_name;
    private LocalDateTime visit_time;
    private String insurance_card_number;
}
